package com.atguigu.spring.service.impl;

import com.atguigu.spring.dao.api.HappyDao;
import com.atguigu.spring.service.api.HappyService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class HappyServiceImpl implements HappyService {

    @Resource
    private HappyDao happyDao;

    @Override
    public void doSomething() {
        System.out.println("HappyServiceImpl.doSomething");
        happyDao.doSomething();
    }
}
